package com.eephone.ep.input.filters;

import android.text.InputFilter;
import android.text.Spanned;

/**
 * Created by xyf on 2016/3/1.
 */
public class NullFilter implements InputFilter {

    @Override
    public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) {
        if (source.equals(" ")) {
            return "";
        }
        return null;
    }

}
